<template>
  <div>{{ props.schema?.label }}</div>
</template>

<script setup lang="ts">
import { PropType } from "vue";
import { DraggableTreeNode, FormDataType, IDMapType } from "../../../type";

const emit = defineEmits(["changeFormItemData"]);
const props = defineProps({
  formData: {
    type: Object as PropType<FormDataType>,
    default: () => {
      return {};
    },
  },
  IDMap: {
    type: Object as PropType<IDMapType>,
    default: () => {
      return {};
    },
  },
  schema: {
    type: Object as PropType<DraggableTreeNode | null>,
    default: () => {
      return {};
    },
  },
});
</script>

<style lang="scss" scoped></style>
